package com.example.pattern.guide

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.pattern.R
import com.example.pattern.databinding.FragmentGuideOneBinding
import com.example.pattern.utils.AnimUtils


class GuideOneFragment : Fragment() {
    private lateinit var binding:FragmentGuideOneBinding
    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        // Inflate the layout for this fragment
        binding = FragmentGuideOneBinding.inflate(inflater,container,false)
        return binding.root
    }

    override fun onStart() {
        super.onStart()
        AnimUtils.addRotateAndAlphaAnimation(binding.tvTitle, onEnd = {} )
        AnimUtils.addRotateAndAlphaAnimation(binding.tvDesc, onEnd = {} )
    }
}